import {get, post, put, del} from './xFetch';

async function getAll(page) {
  return get('stock/user-stock?page='+page);
}

async function addAttStock (data) {
  return post('stock/user-stock', data)
}

async function delUserStock(data) {
  return del();
}

export{getAll, addAttStock}

